package com.github.satant.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.github.satant.parser.IKeyGenerator;

@Retention(RetentionPolicy.RUNTIME)
@Target({java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.TYPE})
public @interface CacheClear {

  public abstract String pre();

  public abstract String key();

  public abstract String[] keys();

  public abstract Class<? extends IKeyGenerator> generator();
}